package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.UserLevel;
import com.jbp.utils.PageUtils;
import java.util.Map;

/**
 * 用户等级(UserLevel)表服务接口
 * @author cc
 * @since 2021-08-12 11:57:34
 */
public interface UserLevelService extends IService<UserLevel> {
    int getExperience(Integer userId);

    UserLevel getByUserId(Integer userId);

    void addScore(Integer userId, int score);

    boolean levelOn(Integer userId);
}